Response
| Field | Description | Type |
|---|---|---|
status | success\|error status | |
code | Exit code | |
items:[{…}] | List of packages | array of objects |
items:[{…}] array:
| Field | Description | Type |
|---|---|---|
categ_id | Package identifier | integer |
categ_name | Package name | string |
capacity_id | Displacement identifier | integer |
emission_type | Type of code emission | integer |
capacity | Displacement name | string |
cnt | Number of codes | integer |
emission_type | Issue type: 1 — retail, 2 — import, 3 — confiscated | integer |
codes:[{…}] | List of codes | array |
codes:[{…}] array:
| Field | Description | Type |
|---|---|---|
code | Marking code | string |
hrc | Serial number | string |
Notes: The response to the request will be compressed using gzip.
Error codes:
| Field | Description |
|---|---|
| 0 | Successful |
| 101 | Order not found |
| 102 | Codes have not yet been generated for the document |